;;; GNU Guix --- Functional package management for GNU
;;;
;;; Copyright © 2022 jgart <jgart@dismail.de>
;;; This file is not part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (guixrus packages slick)
  #:use-module (guix build-system go)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix utils))

(define-public slick
  (package
    (name "slick")
    (version "0.1.0")
    (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/pcostanza/slick")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32 "0in9dax1fhsxlxkkmyagcxgg51lid2b64163pa9lc1sl7ak5psxq"))))
    (build-system go-build-system)
    (arguments
     (list #:import-path "github.com/pcostanza/slick"))
    (home-page "https://github.com/pcostanza/slick/")
    (synopsis "The Slick programming language is an s-expression surface syntax for Go")
    (description
"The @code{slick} programming language is a Lisp/Scheme-style s-expression
surface syntax for the Go programming language, with a few additional
features.  Apart from the additional features, it is a faithful mapping
of all Go programming language features into s-expression notation,
with very few, very minor intentional exceptions.")
    (license license:bsd-3)))
